var status = -1;
var selectionLog = [];

function start() {
    action(1, 0, 0)
}

function action(d, c, b) {
    if (status == 0 && d == 0) {
        cm.dispose();
        return
    }
    status++;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        cm.dispose()
    } else {
        if (status === a++) {
            cm.killAllMob();
            cm.spawnMobLimit(9001040, 1, 550, 69, 100);
            cm.updateInfoQuest(26011, "");
            cm.getPlayer().scheduleWarpTask(1 * 1 * 45, cm.getMap(927000110));
            cm.addPopupSay(0, 6000, "击杀后等待时间结束。");
            cm.dispose()
        }
    }
};